<?php

class UserHasPlace extends Eloquent{
	protected $table = 'user_has_place';

	public function user(){
		return $this->belongsTo('User','user_id');
	}

	public function place(){
		return $this->belongsTo('Place','place_id');
	}
}